<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
	xmlns:h="http://xmlns.jcp.org/jsf/html"
	xmlns:f="http://xmlns.jcp.org/jsf/core"
	xmlns:p="http://primefaces.org/ui">
	
	<ui:composition>
		<h:panelGroup layout="block">
			<p:inputTextarea id="#{id}" value="#{value}" required="#{required}" requiredMessage="#{requiredMessage}" style="display: block; margin-bottom: 3px;"
					onkeyup="countChar(this, #{maxLength})" >
				<f:validateLength maximum="#{maxLength}"/>
			</p:inputTextarea>
			<h:inputText id="#{id}Count" disabled="true" styleClass="ui-textcount" />
		</h:panelGroup>
	</ui:composition>
</html>